Minor diary-lib.el fix.
authorGlenn Morris <rgm@gnu.org>
Sat, 14 Aug 2010 01:56:35 +0000 (18:56 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 14 Aug 2010 01:56:35 +0000 (18:56 -0700)
* lisp/calendar/diary-lib.el (diary-header-line-format):
Fit it to the window, not the frame.

lisp/ChangeLog
lisp/calendar/diary-lib.el

index 207eb251f6a1c50a7a266b57363deb8715858a51..4e816c1678359ba5c0895103c34427ac163da414 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-14  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/diary-lib.el (diary-header-line-format):
+       Fit it to the window, not the frame.
+
 2010-08-11  Andreas Schwab  <schwab@linux-m68k.org>
 
        * subr.el (ignore-errors): Add debug declaration.
index 8fb464aa7e67aec4e18b66a4401d257bb84254b8..fc416d869bb08af981098da3928e273dbb63502a 100644 (file)
@@ -383,7 +383,7 @@ The format of the header is specified by `diary-header-line-format'."
                      "Some text is hidden - press \"s\" in calendar \
 before edit/copy"
                    "Diary"))
-           ?\s (frame-width)))
+           ?\s (window-width)))
   "Format of the header line displayed by `diary-simple-display'.
 Only used if `diary-header-line-flag' is non-nil."
   :group 'diary